package nz.ac.massey.spidernetpn.graph;

import edu.uci.ics.jung.graph.DirectedGraph;

public class SPNGraph implements SPNGraphInterface{
	DirectedGraph<GraphNode,GraphLink> graph;
	String graphName;
	int maxSearchDepth;
	int searchDepth;

	public void setMaxSearchDepth(int maxSearchDepth) {
		this.maxSearchDepth = maxSearchDepth;
	}

	int nodeCount;
	int maxNodeCount;
	
	
	public SPNGraph(){ //Used to keep XML encoder happy

	}
	
	public SPNGraph(String graphName, int searchDepth,int nodeCount){
		graph = null;
		this.graphName = graphName;
		this.searchDepth = searchDepth;
		this.maxNodeCount = maxNodeCount;
	}
	
	
	
	
	
	
	
	public int getMaxSearchDepth() {
		return maxSearchDepth;
	}
	
	public DirectedGraph<GraphNode, GraphLink> getGraph() {
		return graph;
	}
	
	public int getNodeCount() {
		return nodeCount;
	}

	public void setNodeCount(int nodeCount) {
		this.nodeCount = nodeCount;
	}

	public int getMaxNodeCount() {
		return maxNodeCount;
	}

	public void setMaxNodeCount(int maxNodeCount) {
		this.maxNodeCount = maxNodeCount;
	}

	public void setGraph(DirectedGraph<GraphNode, GraphLink> graph) {
		this.graph = graph;
	}
	
	public String getGraphName() {
		return graphName;
	}
	
	public void setGraphName(String graphName) {
		this.graphName = graphName;
	}
	
	public int getSearchDepth() {
		return searchDepth;
	}
	
	public void setSearchDepth(int searchDepth) {
		this.searchDepth = searchDepth;
	}
	
}
